package com.bjfu.gmms.model;

public class StudentResult {
    private int studentId;        // 学生ID
    private String studentName;   // 学生姓名
    private int mentorId;         // 导师ID
    private String mentorName;    // 导师姓名
    private String researchId;    // 研究方向ID
    private String researchName;  // 研究方向名称

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getMentorId() {
        return mentorId;
    }

    public void setMentorId(int mentorId) {
        this.mentorId = mentorId;
    }

    public String getMentorName() {
        return mentorName;
    }

    public void setMentorName(String mentorName) {
        this.mentorName = mentorName;
    }

    public String getResearchId() {
        return researchId;
    }

    public void setResearchId(String researchId) {
        this.researchId = researchId;
    }

    public String getResearchName() {
        return researchName;
    }

    public void setResearchName(String researchName) {
        this.researchName = researchName;
    }
    // 重写 toString() 方法，打印 StudentResult 对象的详细信息
    @Override
    public String toString() {
        return "StudentResult{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", mentorId=" + mentorId +
                ", mentorName='" + mentorName + '\'' +
                ", researchId='" + researchId + '\'' +
                ", researchName='" + researchName + '\'' +
                '}';
    }
}
